package board.vo;

public class Board {

	private int boardnum;
	private String id;
	private int rights;
	private String dateInserted;
	private String title;
	private String content;
	private String savedfile;
	private String originalfile;
	
	public Board() {}
	
	public Board(int boardnum, String id, int rights, String dateInserted,
			String title, String content, String savedfile, String originalfile) {
		super();
		this.boardnum = boardnum;
		this.id = id;
		this.rights = rights;
		this.dateInserted = dateInserted;
		this.title = title;
		this.content = content;
		this.savedfile = savedfile;
		this.originalfile = originalfile;
	}//constructor

	public int getBoardnum() {
		return boardnum;
	}

	public void setBoardnum(int boardnum) {
		this.boardnum = boardnum;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public int getRights() {
		return rights;
	}

	public void setRights(int rights) {
		this.rights = rights;
	}

	public String getDateInserted() {
		return dateInserted;
	}

	public void setDateInserted(String dateInserted) {
		this.dateInserted = dateInserted;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getSavedfile() {
		return savedfile;
	}

	public void setSavedfile(String savedfile) {
		this.savedfile = savedfile;
	}

	public String getOriginalfile() {
		return originalfile;
	}

	public void setOriginalfile(String originalfile) {
		this.originalfile = originalfile;
	}

	@Override
	public String toString() {
		return "Board [boardnum=" + boardnum + ", id=" + id + ", rights="
				+ rights + ", dateInserted=" + dateInserted + ", title="
				+ title + ", content=" + content + ", savedfile=" + savedfile
				+ ", originalfile=" + originalfile + "]";
	}
				
}//class

